<?php

namespace app\api\controller;

use app\admin\model\order\Spelldetail;
use app\common\controller\Api;
use fast\Http;
use fast\Utils;
use think\Db;
use think\Exception;

/**
 * 会员信息接口
 */
class Download extends Api
{
    protected $noNeedLogin = '*';
    public function _initialize()
    {
        parent::_initialize();
    }

    public function index(){
        header("access-control-allow-headers:*");
        header("access-control-allow-methods:*");
        header("access-control-allow-origin:*");
        $type='android';
        $url= $url = \think\config::get('site.'.$type.'url');
        header('Location:'.$url);
    }
}
